home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / portfoli / functio.doc < prev    next >
Encoding:
Text File  |  1996-10-30  |  4.0 KB  |  114 lines

  1. FUNCTIO         function-analysis on the ATARI Portfolio
  2.  
  3. FUNCTIO.EXE is a program that uses the graphic capabilities of the ATARI
  4. Portfolio. The program plots X-Y diagrams from any equation the user supplies,
  5. where Y is a function of X.
  6.  
  7.  
  8. Getting started:
  9.  
  10. 1.     Copy the program to the Portfolio, using either the serial or parallel
  11.        interface. Make sure there is enough space : functio.exe at the moment
  12.        occupies 14480 bytes.
  13.  
  14. 2.     Start by typing FUNCTIO <enter>.
  15.  
  16. 3.     After the title screen (<enter>) you are asked to supply an equation
  17.        for Y=....
  18.        Type : sin(x)/x          (see below for other examples)
  19.        The usual editing- keys can be used to change or correct the current
  20.        equation.
  21.        (Only 30 characters fit on the input line , but the maximum length
  22.        of the equation is 60 characters. Editing the second half occurs
  23.        automatically if your input line exceeds thirty positions or if you put
  24.        a '>' at the end of the first line.)
  25.        If you just type <enter> you're ready.
  26.  
  27. 3.     You are asked for the starting value for X ; 
  28.        Type  -10
  29.  
  30.        (All numbers you type in are six-byte real numbers, with a range from
  31.        2.9 E-39 to 1.7 E+38. Other possible starting values for X could be:
  32.               -2.9E-39
  33.               3^8
  34.               -PI
  35.        Try them out later).
  36.  
  37.  
  38. 4.     .... and for the max value of X....
  39.        Type 10
  40.  
  41. 5.     The Portfolio then starts calculating the max and min values in the Y
  42.        direction. The formula is being evaluated 240 times so this does take some
  43.        time.
  44.        The values appear to be -0.2172042652 and 0.9997082473 ...(all
  45.        calculations also have an accuracy of 6-byte real variables). When you hit
  46.        <enter> the graphic screen appears.
  47.  
  48. The program calculates where and how many numbers have to be printed alongside
  49. the axes. You can repeat steps 3 to 5 as many times as you want, for instance to
  50. make ever larger 'blow-ups' of the diagrams, just by entering different min/max
  51. values. 
  52. You can try this out for the same formula Y=SIN(X)/X with the next sequence of
  53. values :
  54. MINimum and MAXimum values for X:
  55.      MIN       MAX
  56.      -30        30
  57.       0         30
  58.       5         10
  59.       6         6.5
  60.       6.28      6.29
  61.  
  62. You see that FUNCTIO can be an accurate help for finding points of intersection.
  63.  
  64. The complexity of the equation you type in is only limited by the length of the
  65. input line of 30 characters.
  66.  
  67. The equation further may contain:
  68.       X
  69.       brackets         as many as you like, but always as many (( as there are )).
  70.       real numbers ( for instance 3 , but also 12.3 E10 is possible)
  71.       PI
  72.       the normal operators  + addition
  73.                             - substraction
  74.                             * multiplication
  75.                             / division
  76.                             ^ power
  77.                             SIN en COS(use S and C for short)
  78.  
  79. for the square root you can use X^0.5 and the TANgent of X for instance can be
  80. accomplished by SIN(X)/COS(X).
  81.  
  82. Other suggestions :
  83.  
  84. try:
  85.  
  86. X^(SIN(X)) for  X= -10 to 10
  87.  
  88. -2^X       for  X=   0 to  8
  89.  
  90. sin(x)+sin(3x)+sin(5x)+sin(7x)+sin(9x)+sin(11x) for X= -PI to PI
  91.  
  92. If there is enough white space left then the graphic display also contains the
  93. equation you entered and the name of the program.
  94.  
  95.  
  96.  
  97.  
  98. FUNCTIO.EXE was written to make use of the graphic possibilities of the ATARI
  99. Portfolio pocket computer. It also runs on MS-DOS computer with a CGA graphic
  100. card, though the screen is limited to 240x64 pixels.
  101. The program was written using Borland's Turbo Pascal 5.5 ,using some special
  102. techniques to compile an EXE file small enough for the Portfolio.
  103.  
  104. Other versions of FUNCTIO include bigger screen versions for HERCULES and
  105. EGA/VGA graphic cards.
  106.  
  107. If you're interested in these, or in programming for the ATARI Portfolio you could
  108. contact me through the Dutch ATARI BBS in COMPUSERVE or by mail:
  109.  
  110. S.J. Spoelstra
  111. Korenmolen 24
  112. 2906 RA Capelle a/d IJssel
  113. Holland.
  114.